/* 
 * File:   form_scaling.h
 * Author: dima
 *
 * Created on 26 февраля 2015 г., 0:29
 */

#ifndef _FORM_SCALING_H
#define	_FORM_SCALING_H
#include <QDialog>
namespace Ui
{
class form_scaling;
}
namespace ipd
{
class ipd_img;
class ipd_scaling;
}

class form_scaling : public QDialog
{
    Q_OBJECT
public:
    form_scaling(ipd::ipd_img& image);
    virtual ~form_scaling();
    inline ipd::ipd_img * get_convertible_image(); //Get convertible image
private slots:
    void scaling_image();
    void pos_slider(int index);//get pos slider
signals:
    void send_image(ipd::ipd_img &img);
private:
    ipd::ipd_scaling *scaling;
    ipd::ipd_img *convertible_image;
    Ui::form_scaling *widget;
};

ipd::ipd_img* form_scaling::get_convertible_image()
{
    return convertible_image;
}
#endif	/* _FORM_SCALING_H */
